
import { createWebHistory, createRouter } from 'vue-router'

// import HomeView from './HomeView.vue'
// import AboutView from './AboutView.vue'

// import Login from '@/views/Login.vue'
// import Register from '@/views/Register.vue'

// const routes = [
//   { path: '/Login', component: Login },
//   { path: '/Register', component: Register },
// ]

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path:'/Login',
      name:'Login',
      component:()=>import('@/views/Login.vue'),
      meta:{
        hideLoginRegister:true
      }
    },
    {
      path: '/Register',
      name: 'Register',
      component: () => import('@/views/Register.vue'),
      meta: {
        hideLoginRegister: true
      }
    },
  ]
})

export default router
